package com.mercycrazy.springframework.beans.factory;

import com.mercycrazy.springframework.beans.BeansException;

/**
 * Defines a factory which can return an Object instance (possibly shared or independent) when invoked.
 *
 * @author <a href="mailto:1443424326@qq.com">mercycrazy</a>
 * @since 2022-12-03
 */
public interface ObjectFactory<T> {

    T getObject() throws BeansException;
}
